package com.chx.constant;

/**
 *  @Author cp-月入过万
 *  @Date 2025/5/29
 * 信息提示常量类
 */
public class MessageConstant {

    public static final String PASSWORD_ERROR = "密码错误";
    public static final String ACCOUNT_NOT_FOUND = "账号不存在";
    public static final String ACCOUNT_NOT_POWER = "账号无权限";
    public static final String ACCOUNT_LOCKED = "账号被锁定";
    public static final String UNKNOWN_ERROR = "未知错误";
    public static final String ALREADY_EXISTS = "用户名已存在";
    public static final String USER_NOT_LOGIN = "用户未登录";
    public static final String LOGIN_FAILED = "登录失败";
    public static final String PASSWORD_EDIT_FAILED = "密码修改失败";
    public static final String PASSWORD_EDIT_SUCCESS = "密码不一致";
    public static final String ORDER_NOT_FOUND = "订单不存在";
    public static final String DELETE_HAS_PRODUCT = "当前供应商存在关联商品，不能删除";
    public static final String DELETE_HAS_CATEGORY = "当前商品类别关联了商品，不能删除";
    public static final String DELETE_CATEGORY = "当前商品类别关联了商品类别，不能删除";

    public static final String DELETE_HAS_ORDER = "当前供应商存在关联订单，不能删除";
    public static final String DELETE_HA_ORDER = "当前商品存在关联了订单，不能删除";
    public static final String DELETE_USER_RELATED = "当前角色存在关联用户，不能删除";
}
